﻿// <copyright file="PropertyValue.cs" company="Microsoft Corporation">
// Copyright (c) 2009 Microsoft Corporation All Rights Reserved
// </copyright>
// <author>Michael S. Scherotter</author>
// <email>mischero@microsoft.com</email>
// <date>2009-11-13</date>
// <summary>PropertyValue class definition</summary>

namespace Microsoft.WebAnalytics.Data
{
    using System.Runtime.Serialization;

    /// <summary>
    /// A property/value pair
    /// </summary>
    [DataContract(Name = "PV", Namespace = "http://microsoft.com/Analytics/2009")]
    public class PropertyValue
    {
        /// <summary>
        /// Gets or sets the name of the property
        /// </summary>
        [DataMember(Name = "N")]
        public string PropertyName { get; set; }

        /// <summary>
        /// Gets or sets the value of the property as a string
        /// </summary>
        [DataMember(Name = "V")]
        public string Value { get; set; }
    }
}
